package com.qf.java2201.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Goods {
    private Integer goods_id;

    private String goods_name;

    private String goods_kind;

    private String goods_desc;

    private Double price;

    //private Integer amount;

    ////前台到后台的时间格式转换
    //@DateTimeFormat(pattern = "yyyy-MM-dd")
    ////从后台到前台的时间格式转换
    //@JsonFormat(pattern = "yyyy-MM-dd")
    //private Date goodstime;

    private String picture;
}
